package cn.iocoder.yudao.module.promotion.controller.admin.updateorder.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 升级订单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class UpdateOrderRespVO {

    @Schema(description = "编号，唯一自增。", requiredMode = Schema.RequiredMode.REQUIRED, example = "17079")
    @ExcelProperty("编号，唯一自增。")
    private Long id;

    @Schema(description = "订单标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("订单标题")
    private String title;

    @Schema(description = "会员编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "24583")
    @ExcelProperty("会员编号")
    private String memberId;

    @Schema(description = "会员姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("会员姓名")
    private String memberName;

    @Schema(description = "会员手机", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("会员手机")
    private String memberMobile;

    @Schema(description = "审核状态", example = "1")
    @ExcelProperty(value = "审核状态", converter = DictConvert.class)
    @DictFormat("pay_order_status") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String status;

    @Schema(description = "订单金额")
    @ExcelProperty("订单金额")
    private String orderMoney;

    @Schema(description = "申请时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("申请时间")
    private LocalDateTime createTime;
    /**
     * 审核图片
     */
    @Schema(description = "审核图片", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("审核图片")
    private String orderPic;

}